﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="test.aspx.cs" Inherits="AnTeWei.test" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>合同预览</title>
</head>
<body>
    <form id="form1" runat="server">
    <asp:LinkButton runat="server" ID="lbnC" OnClick="lbnC_Click">合同</asp:LinkButton>
    <div>
        <asp:Repeater runat="server" ID="rpList">
            <HeaderTemplate>
                <table>
            </HeaderTemplate>
            <ItemTemplate>
                <tr>
                    <td>
                        <%#Eval("ID").ToString() %>
                    </td>
                    <td>
                        <%#Eval("RequestID").ToString()%>
                    </td>
                    <td>
                        <%#Eval("ResponseID").ToString()%>
                    </td>
                    <td>
                        <%#Eval("type").ToString()=="1"?"客户":"供应商" %>
                    </td>
                    <td>
                        <asp:LinkButton runat="server" ID="lbnPrev" OnClick="lbnPrev_Click" CommandArgument='<%#Eval("ContractID").ToString()%>'> 预览</asp:LinkButton>
                    </td>
                </tr>
            </ItemTemplate>
            <FooterTemplate>
                </table>
            </FooterTemplate>
        </asp:Repeater>
       
    </div>
    </form>
</body>
</html>
